
One of the apps I upgraded from Xenial to Focal needed a little bit of attention. Fortunately for me, a fellow Ubuntu Touch enthusiast was quick to help point out some of the bugs/issues with the click, so I had a good idea of where to start looking. The click in question is SimplestRSS.
Actually fixing the main issue was pretty quick, especially since CiberSheep [1] already told me what to look for: clipping.
Page {
id: manageRSS
clip:true
header: state == "default" ? headerSettings : headerAddFeedSettings
All I had to do was change clip:true to clip:false. While I was in there, I also made a few non important little changes for the GUI relating to screen size, which seemed to make it display even better on my phone. Though I might note that it made the desktop mode of the click full screen, which is probably okay, since not very many users use their UT phone in desktop mode, and if they did, full screen for the click isn't really bad, I think.
The other big issue though, was maintaining the builds for Focal and Noble in the Gitlab CI. Yet again, another plus for Gitlab CI, as I can build with docker images for both Focal and Noble all in one punch. My .gitlab-ci.yml now looks like this:
stages:
- build
variables:
CLICKABLE_VERSION: "8.6"
NOBLE_CI: "ut24.04-1.x"
FOCAL_CI: "20.04"
NOBLE_FRAMEWORK: "ubuntu-touch-24.04-1.x"
FOCAL_FRAMEWORK: "ubuntu-sdk-20.04"
default:
image: "clickable/ci-$UT_VERSION-$ARCH"
.armhf: &armhf
variables:
ARCH: "armhf"
ARCH_TRIPLET: "arm-linux-gnueabihf"
.arm64: &arm64
variables:
ARCH: "arm64"
ARCH_TRIPLET: "aarch64-linux-gnu"
.amd64: &amd64
variables:
ARCH: "amd64"
ARCH_TRIPLET: "x86_64-linux-gnu"
.simplestrss:
stage: build
script:
- clickable build --all --verbose
parallel:
matrix:
- UT_VERSION: "$NOBLE_CI"
CLICKABLE_FRAMEWORK: "$NOBLE_FRAMEWORK"
- UT_VERSION: "$FOCAL_CI"
CLICKABLE_FRAMEWORK: "$FOCAL_FRAMEWORK"
artifacts:
name: "simplestrss $UT_VERSION"
paths:
- 'build/$ARCH_TRIPLET/app/*.click'
when: on_success
expire_in: 1 week
simplestrss_armhf:
<<: *armhf
extends: .simplestrss
simplestrss_arm64:
<<: *arm64
extends: .simplestrss
simplestrss_amd64:
<<: *amd64
extends: .simplestrss
Of course, for this to work, you also have to edit your manifest version to be named after the framework, or you will build multiples of clicks for different frameworks with the same name. It should look like this:
{
"name": "simplestrss.alaskalinuxuser",
"description": "simplest way to download and read rss",
"architecture": "@CLICK_ARCH@",
"title": "SimplestRSS",
"hooks": {
"simplestrss": {
"apparmor": "simplestrss.apparmor",
"desktop": "simplestrss.desktop",
"content-hub": "simplestrss.contenthub"
}
},
"version": "1.0.9-@CLICK_FRAMEWORK_BASE@",
"maintainer": "Alaskalinuxuser <alaskalinuxuser@fastmail.com>",
"framework" : "@CLICK_FRAMEWORK@"
}
And you need to add this one liner to your CMakeList.txt file:
set(CLICK_FRAMEWORK_BASE "@CLICK_FRAMEWORK_BASE@")
I don't plan to update all of the Gitlab CI builds for every app that I maintain, as most of them will not likely see any update. But I will enable this on any app that I do make some sort of update for.
Saving the best news for last, CiberSheep also made a new icon for the SimplestRSS click, you can check it out in this commit.
Linux - keep it simple.
[1] CiberSheep